#include<stdio.h>
void main()
{
    int  a, b;
    for (a = 1, b = 2; b < 50;) {
        printf("%d %d ", a, b);
        a = a + b;
        b = a + b;
    }
    printf("\n");
}